package com.sihai.ehr.service;

import com.sihai.core.Limit;
import com.sihai.core.LimitedList;
import com.sihai.core.Sorter;
import com.sihai.ehr.model.biz.Message;

/**
 * author: wxn
 * since: 13-4-15 22:08
 * 消息系统Service
 */
public interface MessageService {
    void save(Message message)throws Exception;

    Message get(Long id)throws Exception;

    boolean delete(String ids)throws Exception;

    LimitedList<Message> findByLoginUser(Long uid, Limit limit, Sorter sorter)throws Exception;

}
